﻿<UserControl x:Class="Dashboard.TermGrid"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:Controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data" 
    HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal" Grid.Row="0">
            <TextBlock x:Name="txtAllCluster" Text="All" Padding="5,0,0,0" TextDecorations="Underline" Foreground="Blue" MouseLeftButtonDown="txtAllCluster_MouseLeftButtonDown" />
            <TextBlock MinWidth="40"/>
            <TextBlock x:Name="txtSingleCluster" Text="Cluster #1" Padding="0,0,5,0" Visibility="Collapsed"/>
        </StackPanel>
        <ScrollViewer Grid.Row="1"
                          HorizontalScrollBarVisibility="Auto" 
                          VerticalScrollBarVisibility="Auto">
            <Controls:DataGrid x:Name="dgTermGrid"/>
        </ScrollViewer>
    </Grid>
</UserControl>
